GtkTextHandle: Improve handle positioning
authorMatthias Clasen <mclasen@redhat.com>
Wed, 10 Jun 2015 01:19:17 +0000 (21:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 10 Jun 2015 01:19:17 +0000 (21:19 -0400)
commitecebdfc58ce93f1988a0a2765aac3536607b4e1d
tree7ec828a4f9a54af0332501cf30752fe090ebb8e5
parentdf5a2e7152470dca4699b0e6ff72c136d36b929d
GtkTextHandle: Improve handle positioning

When we are close the window edge, we need to shrink the 'invisible
border' around the handle to avoid mispositioning it. A fiddly
calculation, but it works.
gtk/gtktexthandle.c